package com.jfunit.example.service;

import java.util.List;

import com.jfunit.java.annotation.Inject;
import com.jfunit.java.annotation.Service;
import com.jfunit.example.dao.UserDao;
import com.jfunit.example.entity.User;

@Service
public class UserService{

    @Inject
    private UserDao userDao;
    
    public List<User> getUserList(){
        List<User> userList = userDao.getUserList();
        return userList;
    }
}
